package com.whminwei.edu.api.base.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.base.dto.fspn.TrainModeFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author wangy
 * @since 2024/5/13
 */
@FeignClient(name = "xzzg-pt-base-service", contextId = "train-mode-info", configuration = FullHttpRspnConfig.class)
public interface TrainModeClient {

    /**
     * 查询培养模式列表
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.base.dto.fspn.TrainModeFspn>
     * @author wangy
     * @since 10:52 2024/5/13
     **/
    @PostMapping("/train_mode/getAllList")
    FullHttpResponse<TrainModeFspn> getAllList();
}
